home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr11 / sp144man.zip / SIX.TXT < prev    next >
Text File  |  1993-04-19  |  23KB  |  610 lines

  1. SPORTSTER 14,400
  2.                                 CHAPTER 6.  DIALING AND ANSWERING
  3.                                                                  
  4.       
  5. BEFORE CONNECTING
  6.  
  7.       For two modems to connect and exchange
  8.       data, they must use the same modulation
  9.       standard and, for error control to be
  10.       successful, the same error-control
  11.       protocol.
  12.       
  13. Modulation/Standards
  14.  
  15.       The Sportster 14,400 modem conforms to
  16.       the following modulation and signaling
  17.       standards.
  18.        CCITT V.32 bis 14.4K/12K/9600/7200/4800
  19.                  bps
  20.        CCITT V.32     9600/4800 bps
  21.        CCITT V.22 bis  2400 bps
  22.        Bell 212A/
  23.        CCITT V.22 1200 bps
  24.        CCITT V.23     1200 bps with 75-bps
  25.                  back channel (sometimes used
  26.                  in U.K. and Europe)
  27.        CCITT V.25     Answer sequence for
  28.                  calls originating outside the
  29.                  U.S. and Canada
  30.        Bell 103/
  31.        CCITT V.21 300 bps
  32.        CCITT V.42     LAPM error control, 1200
  33.                  bps and above
  34.        CCITT V.42 bis Data compression, 1200
  35.                  bps and above
  36.        MNP      Levels 2, 3 and 4 error
  37.                  control, level 5 data
  38.                  compression, 1200 bps and
  39.                  above
  40.        CCITT V.54     Analog, digital and
  41.                  remote digital loopback
  42.                  testing
  43.                  
  44. Setting the Transmission Rate
  45.  
  46.       Setting your software to 38.4K or 19.2K
  47.       bps ensures that the Sportster 14,400
  48.       can operate at its highest rate.  The
  49.       modem detects the rate from the AT
  50.       command, operates at that rate at the
  51.       serial port, and tries to connect with
  52.       remote modems at 14.4K bps, its highest
  53.       connection rate.
  54.       Follow the guidelines in Chapter 3,
  55.       Quick Start, or the more detailed
  56.       instructions in Chapter 4 before
  57.       selecting either variable or fixed
  58.       serial port rates (&Bn).  If your
  59.       software supports a fixed serial port
  60.       rate, set the modem to &B1 and your soft
  61.       ware to a high serial port rate for the
  62.       best throughput.  Set the modem for flow
  63.       control (&Hn), as well.
  64.       We recommend leaving the modem at its
  65.       link operation factory setting, &N0,
  66.       unless your application requires that
  67.       you specify a fixed connection rate.
  68.       &N0 allows the Sportster 14,400 to auto
  69.       matically negotiate with the remote
  70.       modem for the highest possible
  71.       connection rate.
  72.       
  73. Data Format
  74.  
  75.       Both your machine and the remote
  76.       computer must use the same 10-bit data
  77.       format, which always consists of 1 Start
  78.       bit, plus one of the 9-bit combinations
  79.       listed in Table 6.1.  You may have to
  80.       phone the remote computer installation
  81.       or BBS to find out what word length,
  82.       parity and Stop bit combination is
  83.       required.
  84.       Before calling, set your communications
  85.       software (or terminal if you are using
  86.       one) to the required scheme.  Some commu
  87.       nications programs use a kind of
  88.       shorthand for formats, such as 7-E-1 or
  89.       8-N-1.  The modem detects the format
  90.       from the AT prefix of the next command
  91.       it receives from your keyboard or from
  92.       your software.
  93.             Table 6.1_Allowable Data Formats
  94.                        
  95.               Word    Parity     Stop
  96.              Length  (1 Bit)     Bits
  97.                7    Even, Odd,    1
  98.                    Mark, Space
  99.                7       None       2
  100.                8       None       1
  101.            
  102. Error Control
  103.  
  104.       For reliable high-speed data transfer,
  105.       always set the Sportster for error
  106.       control, &M4 (default) or &M5, for calls
  107.       at speeds over 2400 bps.  Most users
  108.       communicating with V.42- or MNP-
  109.       compatible modems will want error
  110.       control at 2400 and 1200 bps, as well.
  111.       The &M command is described in Chapter
  112.       4.
  113.       If you're dialing out, it's a good idea
  114.       to find out if the remote modem is MNP-
  115.       compatible.  Some public network
  116.       services, for example, are not.  If the
  117.       remote modem doesn't have MNP capa
  118.       bility, it may misinterpret the MNP
  119.       error-control request and block a
  120.       successful connection.  If you know the
  121.       remote modem doesn't support MNP, dis
  122.       able MNP handshaking by setting Register
  123.       S27 to 16 (ATS27=16).  The modem still
  124.       connects with V.42-compatible modems and
  125.       modems that do not perform error
  126.       control.
  127.       To reset the modem for normal opera
  128.       tions, issue the ATZ (reset) command,
  129.       or set Register S27 to zero.
  130.       
  131. PLACING CALLS
  132.  
  133.       This section discusses commands used in
  134.       the following operations.
  135.          Dialing    D (0-9 # * , / ; " ! P T
  136.            W @ R), DS
  137.          Redialing  A/
  138.          Canceling dialing<any key>
  139.            
  140. Dial (D)
  141.  
  142.       The following command example instructs
  143.       the modem to stop the display of
  144.       commands (E0, turn off the local echo),
  145.       turn off the speaker (M0), and dial (D)
  146.       the phone number (1234567) using Touch-
  147.       Tone dialing (T).  The spaces shown are
  148.       ignored by the modem and are only
  149.       included here for readability.
  150.              AT E0 M0 DT 1234567 <Enter>
  151.       When the Dial command is issued, the
  152.       modem goes off hook_ the equivalent of
  153.       picking up your phone_then enters
  154.       Originate mode and dials the number
  155.       sequence that follows.  The modem also
  156.       executes any other commands or options
  157.       included in the command line.
  158.       The dial string may include up to 40
  159.       characters.  The modem counts but
  160.       ignores punctuation characters such as
  161.       parentheses and hyphens.  It does not
  162.       count spaces, the AT prefix or the
  163.       carriage return (Enter key) required to
  164.       execute the command.
  165.    Cancel Dialing
  166.       To cancel Dial-command execution, press
  167.       <any key>.  If you inadvertently hit a
  168.       key on the keyboard while the modem is
  169.       dialing, the call is canceled.  If this
  170.       occurs, type the A/ command (explained
  171.       under Redialing later in this chapter).
  172.       On receipt of A/, the modem redials.
  173.       
  174. Dial Command Options
  175.  
  176.       You may want to review the many options
  177.       on the next several pages that are
  178.       available for tailoring Dial strings.
  179.       The most typically used are the Dial
  180.       Type, Pulse or Tone, and the Pause
  181.       options_comma, slash and W.
  182.    Dialing Type, Pulse or Tone
  183.       The modem is shipped to default to pulse
  184.       (rotary) dialing.  To have the modem use
  185.       tone dialing, which includes the
  186.       asterisk (*) and pound sign (#), use the
  187.       T command.
  188.       Dialing type commands may be included in
  189.       the Dial string (ATDT number), issued
  190.       separately (ATT or ATP), or included in
  191.       the &W default configuration string you
  192.       write to NVRAM, as explained in Chapter
  193.       5.  You can also set the X2, X3 or X4
  194.       result code options, which include
  195.       adaptive dialing, explained next.
  196.       NOTE:  You can switch from one dial type
  197.       to another within a dialing sequence.
  198.       Keep in mind that the modem remains set
  199.       to the last dialing type instruction
  200.       until it is reset (ATZ command) or it
  201.       receives a different dial-type command.
  202.    Adaptive Dialing (X2OX4)
  203.       When any of the X2 through X4 options is
  204.       in effect and you do not issue a dialing
  205.       type in the Dial string, the Sportster
  206.       14,400 uses tone dialing, which is
  207.       faster than the default pulse type.  How
  208.       ever, if the phone company's central
  209.       office does not have Touch-Tone
  210.       detection equipment, the modem cannot
  211.       break dial and continues to detect the
  212.       dial tone.  If this occurs, the modem
  213.       automatically reverts to pulse dialing.
  214.    Pause (,)
  215.       A comma causes a two-second delay in the
  216.       dial sequence.  The following example
  217.       contains four-second delays at several
  218.       points.
  219.              ATDP 9,,7654321,,55555,,1 312
  220.              1234567 <Enter>
  221.       The first four-second pause is to access
  222.       an outside line after dialing 9, but you
  223.       may wish to use the W option, described
  224.       below.  The second pause is to make sure
  225.       the remote system is ready for the
  226.       user's account number, and the third, to
  227.       delay before dialing the long-distance
  228.       number.
  229.       Such pauses, however, may not be
  230.       necessary.  Experiment and use delays
  231.       only as required.
  232.    Slash (/)
  233.       A slash (/) can be used in any command
  234.       string to make the modem pause for only
  235.       125 milliseconds.  Some users find it
  236.       helpful to have the shorter delay of a
  237.       series of slashes, rather than the 2-
  238.       second comma pause.
  239.    Wait for Another Dial Tone (W)
  240.       This command is useful in situations
  241.       where you must wait for a second dial
  242.       tone before continuing dialing.  For
  243.       example, if you need to dial for an
  244.       outside line, as in the following exam
  245.       ple, the Sportster 14,400 continues
  246.       dialing as soon as it detects the next
  247.       dial tone.
  248.              ATD9W1234567 <Enter>
  249.       NOTE:  This command executes only if
  250.       result code option X3 or greater has
  251.       been issued.  If the modem is set to X2
  252.       or lower, the modem interprets the W as
  253.       a comma (two-second pause).
  254.    Dial and Return to Command Mode (;)
  255.       If your phone is plugged into the modem,
  256.       you can use this option to have the
  257.       modem Auto Dial a telephone rather than
  258.       a modem.  The Sportster 14,400 dials,
  259.       remains off hook and returns the OK
  260.       message, indicating it is in Command
  261.       mode.
  262.       For example, to have the modem place a
  263.       voice call, enter the Dial command with
  264.       a semicolon.
  265.              ATDT5551234; <Enter>
  266.       When the modem returns the OK result,
  267.       pick up your phone receiver so you can
  268.       talk to the other party, and send the
  269.       command that hangs up the modem.
  270.              ATH <Enter>
  271.       Similarly, you can call a recorded
  272.       weather or other service.  Have the
  273.       modem Dial, listen to the recording over
  274.       the modem's speaker and, when you are
  275.       finished, instruct the modem to hang up.
  276.    Dialing Letters (I)
  277.       Quotation marks are used to make the
  278.       modem dial abbreviations and acronyms
  279.       used as phone numbers, such as DIAL USR
  280.       (the USRobotics Sales Department's 800
  281.       number).  The option is called Quote
  282.       mode.  Quotation marks are inserted at
  283.       the beginning of the alphabetic string.
  284.              ATDTIBBS NEWS <Enter>
  285.       NOTE:  If you are including another
  286.       command after the dial string, use
  287.       closing quotation marks before the
  288.       additional command.
  289.    Transferring Calls (!)
  290.       This command applies to modems in
  291.       installations where other modems share
  292.       the phone line.  The modem flashes the
  293.       switch-hook, that is, it goes off hook
  294.       0.5 seconds, on hook for 0.5 seconds,
  295.       and off hook again to dial the specified
  296.       extension.  The following example
  297.       includes instructions to return to Com
  298.       mand mode (;) and to hang up (H).
  299.              ATDT !1234;H <Enter>
  300.    Wait for an Answer (@)
  301.       Some online services answer the phone
  302.       and return a tape-recorded request for
  303.       information before processing trans
  304.       actions.  In such instances, the @
  305.       command can be used in the Dial string
  306.       to tell the modem to detect at least one
  307.       ring, wait for five seconds of silence
  308.       at the other end of the call, and then
  309.       continue to execute the Dial string.
  310.       To use the @ command, set the modem to
  311.       X3 or X4.  If the modem is set to X2 or
  312.       lower, the modem returns an ERROR mes
  313.       sage when encountering the @ character
  314.       in a command string.
  315.       In the next example, the modem is set to
  316.       the X4 result code option and dials a
  317.       banking service.  Each occurrence of @
  318.       in the example indicates a five-second
  319.       wait for silence, that is, for taped
  320.       requests from the bank for a password
  321.       (12345), an account number (6789) and a
  322.       transaction code (2).  The transaction
  323.       code might indicate, for example, a
  324.       request for an account balance.
  325.              ATX4 DT5551234 @ 12345 @ 6789 @ 2
  326.              <Enter>
  327.       If the necessary conditions do not
  328.       occur_no rings, or no following five
  329.       seconds of silence_the modem times out
  330.       as it normally would (after 60 seconds).
  331.       It then sends the message NO ANSWER to
  332.       the screen and aborts the command.
  333.    Reversing Originate/Answer Frequencies (R)
  334.       This command allows calls to an
  335.       originate-only modem.  It reverses the
  336.       modem's originate/answer frequencies,
  337.       forcing the Sportster 14,400 to dial out
  338.       at the answer frequency.  The command
  339.       follows the Dial command, before or
  340.       after the phone number.
  341.              AT D1234567R <Enter>
  342.              AT DR1234567 <Enter>
  343.              
  344. Dialing the Stored Number (DS)
  345.  
  346.       Chapter 5 includes instructions for
  347.       storing a frequently-used telephone num
  348.       ber in nonvolatile random access memory
  349.       (NVRAM).  To have the modem dial a
  350.       stored number, use the DS command.
  351.              ATDS <Enter>
  352.              
  353. Redialing (A/)
  354.  
  355.       The most frequent reason for redialing
  356.       is receipt of a busy signal.  Use the A/
  357.       command, which does not take the AT
  358.       prefix or a Carriage Return, to redial.
  359.              A/
  360.       When the modem receives a command, it
  361.       stores it in its command buffer until
  362.       it receives the next AT command.  Note
  363.       that if you've sent the modem an
  364.       additional command since the Dial
  365.       command, A/ repeats that command
  366.       instead of redialing.
  367.       
  368. ESCAPE CODE OPERATIONS (+++)
  369.  
  370.       Once the modem is online to another
  371.       system, the only command it recognizes
  372.       is an escape code of three pluses, which
  373.       forces the modem into online-command
  374.       mode.  Issue the command in the
  375.       following sequence.
  376.          ∙ Wait one second after sending the
  377.            last item of data
  378.          ∙ Type: +++
  379.          ∙ Wait one second before typing any
  380.            data
  381.       Do not type the AT prefix or a Carriage
  382.       Return.  The guard time of one second
  383.       before and after the code prevents the
  384.       modem from misinterpreting the presence
  385.       of +++ in the transmitted data stream.
  386.       If necessary, the character used in the
  387.       escape code or the duration of the guard
  388.       time can be changed by resetting
  389.       Register S2 or S12.  See the S-Register
  390.       Summary in Appendix B.
  391.       
  392. Modem Response to +++
  393.  
  394.       When the modem receives +++, by default
  395.       it enters online-command mode and
  396.       returns the OK result code.  It
  397.       maintains the connection and is ready
  398.       to act on commands.  You may then
  399.       choose one of the following options.
  400.       
  401.          ∙ Issue commands to the modem and
  402.            then return it online.  This
  403.            operation is explained below under
  404.            Returning Online.
  405.          ∙ Hang up the modem, explained in the
  406.            next section.
  407.       Alternatively, if you want the modem
  408.       automatically to hang up on receiving
  409.       the +++ escape code, set S-Register S14
  410.       to 1 (ATS14=1).  The modem disconnects
  411.       and sends the NO CARRIER result code to
  412.       the screen.
  413.       
  414. Hanging Up (Hn)
  415.  
  416.       At its default setting, the escape code
  417.       forces the modem into online-command
  418.       mode but leaves the line open.  To hang
  419.       up the modem, issue the following
  420.       command, with or without the zero, once
  421.       the modem sends the OK result code.
  422.              ATH <Enter> [or ATH0 <Enter>]
  423.       H0 Hang up (go on hook).
  424.       H1 Go off hook.
  425.       If you want to issue commands to the
  426.       modem and have it return online, use
  427.       the next option.
  428.       
  429. Returning Online (On)
  430.  
  431.       After forcing the modem into online-
  432.       command mode with the escape code
  433.       sequence, you can issue commands and
  434.       then toggle the modem back online with
  435.       the O command, as in the following
  436.       example.
  437.              AT Q1 O <Enter> [or AT Q1 O0
  438.              <Enter>]
  439.       O0 Return online (normal).
  440.       O1 Return online and retrain.  If
  441.           errors occur during a non-ARQ
  442.           connection, try this option.  The
  443.           modem returns online and requests
  444.           that both modems resynchronize.
  445.       O2 Return online and shift rates.  If
  446.           errors occur during a non-ARQ, 2400-
  447.           bps connection, and the remote
  448.           modem also supports this O2
  449.           feature, use it to force the modem
  450.           to shift down to 1200 bps for more
  451.           reliable data transfer.  As line
  452.           improvements occur, the modems can
  453.           be forced to shift up again to 2400
  454.           bps:  send the +++ code and, after
  455.           receiving the OK code, send ATO2.
  456.           
  457.          This feature is part of the CCITT
  458.           V.22 bis recommendation, but is not
  459.           commonly implemented.  Make sure
  460.           that the remote modem has the
  461.           capability of shifting between 2400
  462.           and 1200 bps before using this
  463.           option.
  464.           
  465. AUTOMATIC ANSWERING
  466.  
  467.       The Sportster 14,400 is shipped with DIP
  468.       switch 5 DOWN, Auto Answer suppressed.
  469.       To set the modem to automatically answer
  470.       incoming calls, do one of the following.
  471.       1.Before powering on the modem, set DIP
  472.          switch 5 UP.  When you turn the modem
  473.          on, the modem answers incoming calls
  474.          on the first ring.
  475.       2.When the modem is on, use software
  476.          control.  The following command
  477.          instructs the modem to answer on the
  478.          first ring.  (You can substitute a
  479.          higher value.  See the S-Register Sum
  480.          mary in Appendix B.)
  481.              ATS0=1 <Enter>
  482.       When the modem senses a call coming in,
  483.       it sends the result code RING to your
  484.       screen, goes off hook, and sends the
  485.       remote modem a high-pitched answer
  486.       tone.  If there is no Carrier Detect
  487.       within 60 seconds, the modem hangs up.
  488.       If the connection is made, the modem
  489.       returns a CONNECT result code.  When
  490.       the
  491.       
  492.       call is disconnected by you or the
  493.       remote user, the modem hangs up and
  494.       returns the NO CARRIER code.
  495.       
  496. Suppressing Auto Answer
  497.  
  498.       To disable Auto Answer, reverse Steps 1
  499.       or 2 above:  set DIP switch 5 DOWN
  500.       before powering on the modem, or set the
  501.       modem to answer on zero rings.
  502.              ATS0=0 <Enter>
  503.              
  504. Manual Answer
  505.  
  506.       If you've disabled Auto Answer but are
  507.       expecting an incoming data call, use the
  508.       Manual Answer command.  Send the modem
  509.       the following command after the RING
  510.       result code appears on your screen.
  511.              ATA <Enter>
  512.       When the call is disconnected, the modem
  513.       returns to its original state, Auto
  514.       Answer disabled.
  515.       
  516. Points to Remember
  517.  
  518.       1.You can set the modem to receive
  519.          calls when you're not at your
  520.          computer or terminal.  Load your
  521.          communications software as you
  522.          normally do, and set the modem to
  523.          Auto Answer.  Also set your soft
  524.          ware's file-save function to save
  525.          incoming messages and/or files.
  526.       2.If you've attached your phone so it
  527.          can be used for conventional calls,
  528.          disable Auto Answer when you are not
  529.          expecting incoming data calls.
  530.          Otherwise, your modem may answer the
  531.          phone before you do, greeting a voice
  532.          caller with a high-pitched,
  533.          irritating answer tone.
  534.          
  535. INTERNATIONAL CALLS
  536.  
  537.       The following commands apply to
  538.       international calls.
  539.       
  540. CCITT/Bell Answer Sequence (Bn)
  541.  
  542.       To answer international calls, use the
  543.       default B0 setting.
  544.       B0 This setting is required for V.32
  545.           bis modems to answer V.32 bis
  546.           calls.  It also selects the CCITT
  547.           V.25 answer sequence, used outside
  548.           of North America.
  549.          The B0 setting does not affect the
  550.           modem's ability to call or answer
  551.           domestic modems.  It takes slightly
  552.           longer, however, to connect.
  553.       B1 This setting selects the Bell 2225
  554.           Hz answer tone used in the U.S. and
  555.           Canada, but will prevent your modem
  556.           from answering domestic or
  557.           international V.32 bis calls.
  558.           
  559. Guard Tone (&Gn)
  560.  
  561.       British phone switching systems require
  562.       answering modems to send an 1800 Hz
  563.       guard tone after they send an answer
  564.       tone.  Some other European phone
  565.       networks require a 550 Hz guard tone.
  566.       Guard tones are not used in the United
  567.       States or Canada.
  568.       &G0No guard tone, U.S./Canada.
  569.           Default.
  570.       &G1550 Hz guard tone follows answer
  571.           tone.  Requires B0 setting.
  572.       &G21800 Hz guard tone follows answer
  573.           tone, United Kingdom and some
  574.           Commonwealth countries.  Requires
  575.           B0 setting.
  576.           
  577. Pulse Dial Make/Break Ratio (&Pn)
  578.  
  579.       This command sets the ratio of the off-
  580.       hook/on-hook (make/ break) interval for
  581.       pulse dialing.  The default sets the
  582.       modem for use in North America.  The
  583.       ratio must be changed if the modem
  584.       is used to dial out in the United
  585.       Kingdom and some Commonwealth countries.
  586.       &P0Make/break ratio, U.S./Canada:
  587.           39%/61%.  Default.
  588.       &P1Make/break ratio, United Kingdom,
  589.           some Commonwealth countries:
  590.           33%/67%.
  591.           
  592. CCITT V.21_300 bps
  593.  
  594.       Select this option to call or answer
  595.       overseas modems at 300 bps.  In V.21
  596.       mode, the modem answers Bell 103/V.21
  597.       calls, but only originates V.21 calls.
  598.       This option is enabled in Register S27
  599.       with the following command.
  600.              ATS27=1
  601.              
  602. CCITT V.23_1200/75 bps
  603.  
  604.       Some United Kingdom applications require
  605.       a 1200-bps speed with a 75-bps back
  606.       channel.  This option is enabled in
  607.       Register S34 with the following command.
  608.              ATS34=8
  609.  
  610.